import React from 'react'
// 导入数据
import navdata from '@/data/navdata'
import { Grid, Image } from 'antd-mobile';
type Props = {}

export default function Navlist({ }: Props) {
    return (
        <Grid columns={5} gap={20}>
            {
                navdata.map((item) => {
                    return <Grid.Item key={item.navid}>
                        <Image src={item.imgurl} />
                        <p>{item.title}</p>
                    </Grid.Item>
                })
            }

        </Grid>
    )
}